<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>用户信息列表</title>
</head>
<body>
<div class="youarehere">用户信息管理 &gt; <span>管理用户信息</span></div>
<form action='<chtml:path path="/" />user/list' method="post" id="userForm">
<table width="99%" align="center" border="0" cellpadding="1"
	cellspacing="1" class="data_table">
	<tr>
		<td class="data_tab_th" colspan="6">查询用户</td>
	</tr>
	<tr>
		<td class="data_tab_tdr">用户名</td>
		<td class="data_tab_tdl"><input type="text" value="${userName}" name="userName" /></td>
		<td class="data_tab_tdr">身份证号</td>
		<td class="data_tab_tdl"><input type="text" value="${cardNumber}" name="cardNumber" /></td>
		<td class="data_tab_tdr">用户类型</td>
		<td class="data_tab_tdl">
		<chtml:enum name="type" defaultOption="--全部--" defaultValue="" type="com.hengpeng.itfinbase.persist.UserInfo$UserInfoType" textProperty="text" selected="${type}"/>
		</td>
	</tr>
	<tr>
		<td class="data_tab_tdr">手机号码</td>
		<td class="data_tab_tdl"><input type="text" value="${mobile}" name="mobile" /></td>
		<td class="data_tab_tdr">汇付托管账户</td>
		<td class="data_tab_tdl"><input type="text" value="${trustAccountId}" name="trustAccountId" /></td>
		<td class="data_tab_tdr"></td>
		<td class="data_tab_tdl"></td>
	</tr>

	<tr>
		<td align="center" colspan="6" class="bg_bai">
			<div class="mr_20 t_c">
				<input type="submit" class="pub_bt" value="查询" onclick='document.getElementsByName("PaginationButton_CurrentPage4list")[0].value=1;'/>
				<input type="button" class="pub_bt" value="重置" onclick="this.form.reset();" />
			</div>
	    </td>
	</tr>
</table>
<br />
<!-- 自定义标签示例 -->
<chtml:list collection="userList"
	type="com.hengpeng.itfinbase.persist.UserInfo" linkTarget="_self"
	includeFields="userName,mobile,cardNumber,type,isInvestor,isBorrower,registerFrom,registerTime" fieldWidth="60,60,100,60,60,60,60,120"
	updateLink="load/@{id}"  showCheckBox="true" title="用户列表" paginationName="userListPage" allowSort="false">
</chtml:list>
</form>
</body>
</html>
